package com.xjtu.mapper;

import com.xjtu.entity.MedicalVisitRecord;
import com.xjtu.vo.MedicalVisitVo;

import java.util.List;

/**
* @author 2070929887
* @description 针对表【medical_visit_record(就诊记录表)】的数据库操作Mapper
* @createDate 2023-11-12 14:47:30
* @Entity com.xjtu.mapper.MedicalVisitRecord
*/
public interface MedicalVisitRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(MedicalVisitRecord record);

    int insertSelective(MedicalVisitRecord record);

    MedicalVisitRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MedicalVisitRecord record);

    int updateByPrimaryKey(MedicalVisitRecord record);

    List<MedicalVisitVo> selectElderInfoById(String elderlyName);

    List<MedicalVisitVo> selectAllElderInfo();

}
